package com.krtech.wecard.module.pub.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

@ApiModel(value = "com-krtech-wecard-module-pub-entity-TnNotifyReback")
@Data
@TableName(value = "tn_notify_reback")
public class TnNotifyReback implements Serializable {
    public static final String COL_JSON = "json";
    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "id")
    private Integer id;

    /**
     * 创建人
     */
    @TableField(value = "CREATED_BY")
    @ApiModelProperty(value = "创建人")
    private String createdBy;

    /**
     * 创建时间
     */
    @TableField(value = "CREATED_TIME")
    @ApiModelProperty(value = "创建时间")
    private Date createdTime;

    /**
     * 更新人
     */
    @TableField(value = "UPDATED_BY")
    @ApiModelProperty(value = "更新人")
    private String updatedBy;

    /**
     * 更新时间
     */
    @TableField(value = "UPDATED_TIME")
    @ApiModelProperty(value = "更新时间")
    private Date updatedTime;

    /**
     * 数据json
     */
    @TableField(value = "json_block")
    @ApiModelProperty(value = "数据json")
    private String jsonBlock;

    /**
     * 发送对象的openId
     */
    @TableField(value = "send_open_id")
    @ApiModelProperty(value = "发送对象的openId")
    private String sendOpenId;

    /**
     * 状态 0:未发布,1:已发布
     */
    @TableField(value = "status")
    @ApiModelProperty(value = "状态 0:未发布,1:已发布")
    private Integer status;

    private static final long serialVersionUID = 1L;

    public static final String COL_ID = "id";

    public static final String COL_CREATED_BY = "CREATED_BY";

    public static final String COL_CREATED_TIME = "CREATED_TIME";

    public static final String COL_UPDATED_BY = "UPDATED_BY";

    public static final String COL_UPDATED_TIME = "UPDATED_TIME";

    public static final String COL_JSON_BLOCK = "json_block";

    public static final String COL_SEND_OPEN_ID = "send_open_id";

    public static final String COL_STATUS = "status";
}